#ifndef PLANT_DICTIONARY_H
#define PLANT_DICTIONARY_H

#include <string>
#include <boost/unordered_map.hpp>

typedef struct
{
    std::string name;
    float minScale;
    float maxScale;
} PlantModel;

class PlantDictionary
{
public:
    PlantDictionary();
    void loadPlants(std::string path);
    PlantModel getTreeModel(std::string name);
    PlantModel getShrubModel(std::string name);
    int getNumTrees();
    int getNumShubs();
private:
    boost::unordered_map<std::string,PlantModel> trees;
    boost::unordered_map<std::string,PlantModel> shrubs;
    int numTrees, numShrubs;
};

#endif